package com.codeoss.framework.view.clientscript;

import java.util.HashMap;
import java.util.Map;

public class NavigatePageClientScript implements IClientScript {
	private String pageId;
	private String pageCode;
    private Map<String,Object> paraMap=new HashMap<String,Object>();
	public String getPageId() {
		return pageId;
	}

	public void setPageId(String pageId) {
		this.pageId = pageId;
	}

	public String getPageCode() {
		return pageCode;
	}

	public void setPageCode(String pageCode) {
		this.pageCode = pageCode;
	}

	public void addPara(String key,Object value) {
		paraMap.put(key, value);
	}
	
	public Object removePara(String key) {
		return paraMap.remove(key);
	}
	
	public Map<String, Object> getParaMap() {
		return paraMap;
	}

	@Override
	public String getType() {
		// TODO Auto-generated method stub
		return "navigatePageClientScript";
	}

}
